By default, your FortiGate has an administrator account set up with the username admin
and no password. In order to prevent unauthorized access to the FortiGate, it is highly recommended that you add a password to this account.
To change the default password in the GUI:
- Go to System > Administrators.
- Edit the admin account.
- Click Change Password.
- If applicable, enter the current password in the Old Password field.
- Enter a password in the New Password field, then enter it again in the Confirm Password field.
- Click OK.
To change the default password in the CLI:
config system admin edit admin set password <password> next